<nav class="navbar navbar-default" role="navigation">
	<div class="container-fluid">
	<div class="navbar-header">
		<a class="navbar-brand" href="#">微信公众号管理后台系统</a>
	</div>
	<div>
		<ul class="nav navbar-nav">
			<li class= "<%= active_controller(params, 'admins') %>" ><a href="/admins">用户</a></li>
			<li class= "<%= 'active' if @page_is == 'index' %>" ><a href="/coupons">优惠卷</a></li>
			<li class = "<%= 'active' if @page_is == 'list' %>" ><a href="/coupons/list">优惠卷投放</a></li>
			<li class= "<%= active_controller(params, 'pictures') %>" ><a href="/pictures">图片</a></li>
		</ul>
		 <ul class="nav navbar-nav navbar-right">
			 <li>
				<a><%= @current_admin.telephone %></a>
		 </li>
			<li>
			 <a class="nav-link" href="/session" data-method="delete" style="color: red">退出</a>
		 </li>
		 </ul>
	</div>
	</div>
</nav>
